package com.four.shop.dao;

import com.four.shop.entity.Pricture;
import org.apache.ibatis.annotations.Param;

import java.util.ArrayList;
import java.util.List;

/**
 * @Author:wsy
 * @Date: 2021/12/9/15:35
 */
public interface PrictureDao {
    /**
     * 添加
     * @param prictures
     */
    void savePricture(@Param("vo") ArrayList<Pricture> prictures);

    /**
     * 根据id查询图片
     * @param id
     * @return
     */
    List<Pricture> getPrictureById(@Param("id") Integer id);
}
